home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 59 / Cine Live 59.iso / pc / Data / Interface / vid1.k < prev    next >
Encoding:
Text File  |  2002-01-31  |  4.8 KB  |  232 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000352; 
  4.     release Editor:
  5.         IOWindow is {$000000B5,$0000007A,$00000290,$000001EE,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000B5,$0000003D,$00000293,$00000248,$00000000,$00000000,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o7
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with Flags is $00000001; 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00004004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o7; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Name is "Music"; 
  64.     
  65.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  66.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  67.     Looping is true; 
  68.     URL is "data/Sons/3.mp3"; URLOption is GetDiskURL; 
  69.     
  70. end;
  71.  
  72. object ofond3 is cImage
  73. with 
  74.     Name is "fond"; 
  75.     Enabled is false; 
  76.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  77.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  78.     
  79.     URL is "data/Images/v1.jpg"; URLOption is GetDiskURL; 
  80.     
  81.     
  82. end;
  83.  
  84. object obouton_sommaire4 is cImage
  85. with 
  86.     Name is "bouton sommaire"; 
  87.     Shown is false; Cursor is oFingerCursor; 
  88.     X is 629; Y is 573; 
  89.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  90.     
  91.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  92.     
  93.     
  94.     Events is [
  95.         cMouseEnterEvent
  96.         with 
  97.             Commands is [
  98.                 cShowCommand
  99.                 with Target is oTargetSelf; end
  100.             ];
  101.         end,
  102.         cMouseLeaveEvent
  103.         with 
  104.             Commands is [
  105.                 cShowCommand
  106.                 with Target is oTargetSelf; Mode is Clear; end
  107.             ];
  108.         end,
  109.         cMouseUpEvent
  110.         with Flag is true; 
  111.             Commands is [
  112.                 cBrowseCommand
  113.                 with URL is "../../Data/Interface/sommaire.k"; end
  114.             ];
  115.         end
  116.     ];
  117. end;
  118.  
  119. object obouton_retour5 is cImage
  120. with 
  121.     Name is "bouton retour"; 
  122.     Shown is false; Cursor is oFingerCursor; 
  123.     X is 321; Y is 573; 
  124.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  125.     
  126.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  127.     
  128.     
  129.     Events is [
  130.         cMouseEnterEvent
  131.         with 
  132.             Commands is [
  133.                 cShowCommand
  134.                 with Target is oTargetSelf; end
  135.             ];
  136.         end,
  137.         cMouseLeaveEvent
  138.         with 
  139.             Commands is [
  140.                 cShowCommand
  141.                 with Target is oTargetSelf; Mode is Clear; end
  142.             ];
  143.         end,
  144.         cMouseUpEvent
  145.         with Flag is true; 
  146.             Commands is [
  147.                 cBackCommand
  148.                 with end
  149.             ];
  150.         end
  151.     ];
  152. end;
  153.  
  154. object obouton_lancer6 is cImage
  155. with 
  156.     Name is "bouton lancer"; 
  157.     Shown is false; Cursor is oFingerCursor; 
  158.     X is 475; Y is 573; 
  159.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  160.     
  161.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  162.     
  163.     
  164.     Events is [
  165.         cMouseEnterEvent
  166.         with 
  167.             Commands is [
  168.                 cShowCommand
  169.                 with Target is oTargetSelf; end
  170.             ];
  171.         end,
  172.         cMouseLeaveEvent
  173.         with 
  174.             Commands is [
  175.                 cShowCommand
  176.                 with Target is oTargetSelf; Mode is Clear; end
  177.             ];
  178.         end,
  179.         cMouseUpEvent
  180.         with Flag is true; 
  181.             Commands is [
  182.                 cShowCommand
  183.                 with Target is oVid_o7; end,
  184.                 cEnableCommand
  185.                 with Target is oVid_o7; end,
  186.                 cRunCommand
  187.                 with Target is oVid_o7; Rewind is true; end,
  188.                 cRunCommand
  189.                 with Target is oMusic2; Mode is Clear; Rewind is true; end
  190.             ];
  191.         end
  192.     ];
  193. end;
  194.  
  195. object oVid_o7 is cMPEGMovie
  196. with 
  197.     Flags is $00000150; 
  198.     Name is "Vid\$E9o"; 
  199.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  200.     
  201.     Width is 800; Height is 600; 
  202.     
  203.     URL is "data/Videos/v1.mpg"; URLOption is GetDiskURL; 
  204.     Events is [
  205.         cMouseUpEvent
  206.         with Flags is $00000004; Flag is true; 
  207.             Commands is [
  208.                 cShowCommand
  209.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  210.                 cEnableCommand
  211.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  212.                 cRunCommand
  213.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  214.                 cRunCommand
  215.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  216.             ];
  217.         end,
  218.         cFinishedEvent
  219.         with Flags is $00000004; 
  220.             Commands is [
  221.                 cShowCommand
  222.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  223.                 cEnableCommand
  224.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; end,
  225.                 cRunCommand
  226.                 with Flags is $00000004; Target is oVid_o7; Mode is Clear; Rewind is true; end,
  227.                 cRunCommand
  228.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  229.             ];
  230.         end
  231.     ];
  232. end;